import doT from '../../../../../vendor/template/doT.js';
(function (window, document, $) {
    const entries = doT.template($('#orderEntries-template').text());
    $(function () {
        $('body').attr('data-weui-theme', 'light'); //强制光明模式
        getPigInfo()
    });



    // 获取数据
    const getPigInfo = () => {
        let datas = JSON.parse(localStorage.getItem("entries"))
        console.log(datas);
        $('#divPage').empty().append(entries(datas));
    }



})(window, document, jQuery)